
<head>
    <meta charset="UTF-8">
    <title>测试页面</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=320,maximum-scale=1.3,user-scalable=no" />
    <meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<script src="../public/js/jquery.min.js"></script>
<body>
    
        <% for(var i=0;i<results.length;i++){ %>
                题目:<a id="title" href="javascript:void(0)" onclick="show(this)" > <%=results[i].Msg_Type %></a>
             <!-- 题目：<a onclick="show(results[i].Msg_Id)"><%=results[i].Msg_Type %></a><br/> -->
             <!-- 内容：<%=results[i].Msg_Content%><br/>
             作者：<%=results[i].Msg_Author%><br/> -->
         <% } %>
    

</body>
<script>
    function show(a){
        alert(a);
        //var title = $("#title").text();
        //url = "../ddd.html?title="+title;
        window.location.href="../ddd.html";
    }
    
</script>